package com.cskaoyan.service.wx;

import com.cskaoyan.bean.MarketCart;
import com.cskaoyan.bean.wx.WxCartCheck;
import com.cskaoyan.bean.wx.WxCartCheckoutVO;
import com.cskaoyan.bean.wx.WxCartData;

public interface WxCartService {
    WxCartData getCartIndex(Integer userId);

    void addCart(MarketCart marketCart);

    MarketCart updateCart(MarketCart marketCart);

    WxCartData deleteCart(Integer[] productIds, Integer id);

    WxCartData updateCartChecked(WxCartCheck wxCartCheck, Integer userId);

    WxCartCheckoutVO checkoutCart(Integer cartId, Integer addressId, Integer couponId, Integer userCouponId, Integer grouponRulesId, Integer userId);
}
